const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import(/* webpackChunkName: "about" */ "@/views/Home.vue"),
    title: "主页",
  },
  {
    path: "/about",
    name: "About",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/About.vue"),
    title: "随意",
  },
  {
    path: "/first",
    name: "First",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/First.vue"),
    title: "第一练习册",
  },
  {
    path: "/second",
    name: "Second",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/Second.vue"),
    title: "第二练习册",
    children: [
      {
        path: "/some/leader",
        name: "Leader",
        component: () =>
          import(/* webpackChunkName: "about" */ "@/views/Leader.vue"),
        title: "领军企业",
      },
      {
        component: () => import("@/views/Member.vue"),
        path: "/any/member",
        name: "Member",
        title: "成员企业",
      },
      {
        component: () => import("@/views/Follower.vue"),
        path: "/other/follower",
        name: "Follower",
        title: "边角企业",
      },
    ],
  },
  {
    path: "/third",
    name: "Third",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/Third.vue"),
    title: "第三练习册",
  },
  {
    path: "/fourth",
    name: "Fourth",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/Fourth.vue"),
    title: "第四练习册",
  },

  {
    path: "/fifth",
    name: "Fifth",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/Fifth.vue"),
    title: "第五练习册",
  },
  {
    path: "/sixth",
    name: "Sixth",
    component: () =>
      import(/* webpackChunkName: "about" */ "@/views/Sixth.vue"),
    title: "第六练习册",
  },
];
export default routes;
